package com.mybatis.mp.scenery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玩乐订单扩展信息
 * </p>
 *
 * @author baiye
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TActivityOrderExt对象", description="玩乐订单扩展信息")
public class TActivityOrderExt implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "玩乐id")
    private Integer activityId;

    @ApiModelProperty(value = "景点名称")
    private String activityName;

    @ApiModelProperty(value = "资源编号")
    private Integer optionId;

    @ApiModelProperty(value = "资源名称")
    private String optionName;

    @ApiModelProperty(value = "使用日期")
    private String useDate;

    @ApiModelProperty(value = "结束日期")
    private String endDate;

    @ApiModelProperty(value = "市场价 单位分")
    private Integer marketPrice;

    @ApiModelProperty(value = "售价 单位分")
    private Integer salePrice;

    @ApiModelProperty(value = "分销价 单位分")
    private Integer price;

    @ApiModelProperty(value = "携程价 单位分")
    private Integer ctripPrice;

    @ApiModelProperty(value = "兑换方式，有效证件。")
    private String exchangeModeDesc;

    @ApiModelProperty(value = "输入项限制，1-每张一人 2-每单一人")
    private Boolean fillInNumberLimit;

    @ApiModelProperty(value = "玩乐项目ID")
    private Integer ctripOptionId;

    @ApiModelProperty(value = "玩乐订单项ID")
    private String ctripOrderItemId;

    @ApiModelProperty(value = "退订类型 1-随时退 2-有损退 3-不可退  常量:ActivityConst")
    private Integer refundType;

    @ApiModelProperty(value = "数量")
    private Integer num;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
